package home_4_8;

public class Mymath {
private  int num;
private  int shu;
private  int zong;

    public int getShu() {
        return shu;
    }

    public void setShu(int shu) {
        this.shu = shu;
    }

    public int getZong() {
        return zong;
    }

    public void setZong(int zong) {
        this.zong = zong;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
    void jia()
    {
 zong=shu+num;

    }
    void cheng()
    {
        zong=shu*num;
    }
 void chu()
 {
     zong=shu/num;
 }
void jian()
{
    zong=shu-num;
}
}
